package org.tangdao.modules.file.service;

import java.io.File;
import java.util.List;

import org.tangdao.common.service.ICrudService;
import org.tangdao.modules.file.model.domain.FileUpload;
import org.tangdao.modules.file.model.vo.FileUploadParams;
import org.tangdao.modules.file.service.impl.FileUploadServiceExtend;

/** 
 * @ClassName: FileUpload
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author RuYang
 * @date 2019/03/07
 *  
 */
 
public interface IFileUploadService extends ICrudService<FileUpload> {
	
	/**
	 * 文件上传扩展对象
	 * @return
	 */
	public FileUploadServiceExtend getFileUploadServiceExtend();
	
	/**
	 * 
	 * @param fileUpload
	 * @return
	 */
	public List<FileUpload> findList(FileUpload fileUpload);
	
	/**
	 * 
	 * @param params
	 * @param imageFile
	 */
	public void compressImage(FileUploadParams params, File imageFile);
}
